from django.db import models
from django.utils import timezone
# Create your models here.
class Song(models.Model):
	song_name = models.CharField(max_length=40)
	song_content = models.TextField()
	pub_date = models.DateTimeField(default=timezone.now)

	class Meta:
		ordering = ('-pub_date',)

	def __str__(self):
		return self.song_name

